{% assign platform = site.data.routes.platforms | where: "href", include.href | first %}

<a class="platform-card" href="/{{ platform.href }}/hubs">
    <div class="row">
        <div class="body">
            <div class="header">
                <div>
                    <h3 class="title with-margin">{{ platform.title }}</h3>
                    <p class="url">{{ platform.url }}</p>    
                </div>
                <div class="select-button">
                    <button class="success">Select</button>
                </div>
            </div>

            <p class="description">{{ platform.description }}</p>
        </div>
        <div class="platform-screenshot">
            <img src="{{ platform.image }}" alt="{{ platform.href }}"/>
        </div>
    </div>
</a>
